package com.njtoyo.taxi.admin.rest.wrapper.open.notification;

import com.njtoyo.taxi.admin.mapper.master.enums.DriverAuditInfoType;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("司机证件到期通知")
public class DriverCertificateExpirationWrapper {

    private List<DriverCertificateExpirationDto> list;

    @Data
    public static class DriverCertificateExpirationDto {
        @NotNull(message = "司机id")
        private Long driverId;

        @NotBlank(message = "司机姓名")
        private String driverName;

        @NotBlank(message = "司机手机号")
        private String mobileNumber;

        @NotNull(message = "证件类型")
        private DriverAuditInfoType certificateType;
    }

}
